Reports for WPF Overview > C1Report and C1PrintDocument Overview |
Reports for WPF is based on the WinForms products, Reports for .NET and Preview for .NET, now both part of Reports for WinForms, and provides a report and document generating engine adapted to the WPF environment.
The following two components, similar to the WinForms components, are provided:
• Both of these components derive from System.ComponentModel.Component. As such, neither can be placed directly on the Visual Studio's Toolbox or on a WPF window or page. The C1DocumentViewer control provides a convenient way to quickly add C1Report and all necessary wiring (such as references to the required system DLLs and licenses) to your project. But it should be noted that a C1Report or a C1PrintDocument can be viewed in the standard DocumentViewer as well. And of course, all printing and exporting capabilities are accessible directly via C1Report and C1PrintDocument components.
Existing users of the former Preview for WinForms and Reports for WinForms products will notice that while previously, C1Preview and C1Report were separate products shipped in different assemblies, in this release both components are provided by the same assembly, as does the new combined Reports for WinForms. For C1Report users, the main difference is that in this release, the C1Report namespace was changed from C1.Win.C1Report to C1.C1Report. Otherwise, the C1Report component provided in this release should be backwards compatible with previous WinForms versions of C1Report. The C1PrintDocument component included in Reports for WPF is almost (but not 100%) code compatible with the WinForms version (for details, see Differences between WPF and .NET 2.0 Versions).